Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Download  via  Excel  

 Content of Download via Excel.vbs
MD5 Hash: 9A76594402B70384FAEA1709C3C40787
'#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#'
'/| |\\\\\\\\'
'//| |\\\\\\\'
'///| |\\\\\\'
'////| Version 1.0.0 |\\\\\'
'/////| Author: Boris TOll |\\\\'
'//////| Last Update: 31.01.2008 |\\\'
'///////| |\\'
'////////| |\'
'#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#*~#'

Option Explicit

Dim AppExcel : Set AppExcel = CreateObject("Excel.Application")
Dim strURL : strURL = "http://www.google.com"
Dim strTarget : strTarget = "C:\test.log"
Dim iReturn

iReturn = AppExcel.ExecuteExcel4Macro("CALL(""urlmon"",""URLDownloadToFileA"",""JJCCJJ"",0,""" & strURL & """,""" & strTarget & """,0,0)")

If iReturn <> 0 then
msgbox "ErrorNumber: " & iReturn
End if

Set AppExcel = Nothing

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a